home *** CD-ROM | disk | FTP | other *** search
- Path: cpsc.ucalgary.ca!davidt
- From: davidt@cpsc.ucalgary.ca (David Taylor)
- Newsgroups: comp.lang.c++
- Subject: Re: Please help -- c++ dweeb overwrote part of CMOS with far pointer :-(
- Date: 7 Mar 1996 00:31:56 GMT
- Organization: University of Calgary CPSC
- Message-ID: <4hlaps$3p6@linux.cpsc.ucalgary.ca>
- References: <4hb1t0$23l@mars.efn.org>
- NNTP-Posting-Host: fo.cpsc.ucalgary.ca
-
- In article <4hb1t0$23l@mars.efn.org>, Chris Calef <ccalef@efn.org> wrote:
- >Hey everybody! I got out of hand one night with a really complicated
- >class inheritance hierarchy and when I ran it it blew up in my face
- >and apparently overwrote or deleted part of my CMOS settings that have
- >to do with memory allocation. As a result my computer is running
- >like an injured 286. I put the settings that had changed back to
- >where I thought they should be, but it didn't help. Can anyone hazard
- >a guess as to what I might have done and what I could do about it?
- >Thanks!
- >Chris
-
- Overwrote the area in memory where the CMOS is mapped, I guess. Or
- less likely, overwrote your code or stack which just happened to
- send the system into code that modified the CMOS. There is nothing
- specific about clobbering CMOS that would indicate a specific bug.
-
- The solution would be to use an operating system that has memory
- protection. Ideally, a UNIX system. Linux is a free implementation
- of UNIX for PC's. No programmer should be without it.
-
- --
- Andrew Taylor |email: davidt@cpsc.ucalgary.ca
- |www: http://www.cpsc.ucalgary.ca/~davidt
-